package com.hnbtr.pojo;

import java.util.ArrayList;
import java.util.List;

public class Student {
	private Integer id;
	private String name;
	private String sex;
	private String tel;
	private Integer age;
	private Integer institution_id;
	private Institution institution;
	private int del_status;
	List<Class> classes = new ArrayList<Class>();
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public Integer getInstitution_id() {
		return institution_id;
	}
	public void setInstitution_id(Integer institution_id) {
		this.institution_id = institution_id;
	}
	public Institution getInstitution() {
		return institution;
	}
	public void setInstitution(Institution institution) {
		this.institution = institution;
	}
	public int getDel_status() {
		return del_status;
	}
	public void setDel_status(int del_status) {
		this.del_status = del_status;
	}
	public List<Class> getClasses() {
		return classes;
	}
	public void setClasses(List<Class> classes) {
		this.classes = classes;
	}
	@Override
	public String toString() {
		return "Student [id=" + id + ", name=" + name + ", sex=" + sex + ", tel=" + tel + ", age=" + age
				+ ", institution_id=" + institution_id + ", institution=" + institution + ", del_status=" + del_status
				+ ", classes=" + classes + "]";
	}
}
